.toast {
    transition: opacity 0.3s, transform 0.3s;
}

.visible {
    opacity: 1;
}

.hidden {
    opacity: 0;
}